.class public Lcom/estrongs/android/ui/dialog/q0;
.super Lcom/estrongs/android/ui/dialog/p0;
.source "PopDialog_View_Pic.java"


# instance fields
.field private m:Lcom/estrongs/android/ui/adapter/c;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 0

    .line 1
    invoke-direct {p0, p1}, Lcom/estrongs/android/ui/dialog/p0;-><init>(Landroid/content/Context;)V

    return-void
.end method

.method private a(Landroid/view/View;)V
    .locals 4

    const v0, 0x7f0904ba

    .line 27
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/4 v1, 0x0

    .line 28
    invoke-direct {p0, v0, v1}, Lcom/estrongs/android/ui/dialog/q0;->b(Landroid/view/View;I)V

    const v1, 0x7f09051a

    .line 29
    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/ImageView;

    const v3, 0x7f080433

    invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setImageResource(I)V

    const v2, 0x7f0906a5

    .line 30
    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const v3, 0x7f11051b

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setText(I)V

    const v0, 0x7f0904bb

    .line 31
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/4 v3, 0x1

    .line 32
    invoke-direct {p0, v0, v3}, Lcom/estrongs/android/ui/dialog/q0;->b(Landroid/view/View;I)V

    .line 33
    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    const v3, 0x7f080435

    invoke-virtual {v1, v3}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 34
    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const v1, 0x7f110218

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    const v0, 0x7f0904bc

    .line 35
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p1

    const/16 v0, 0x8

    invoke-virtual {p1, v0}, Landroid/view/View;->setVisibility(I)V

    return-void
.end method

.method private b(Landroid/view/View;I)V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/q0;->m:Lcom/estrongs/android/ui/adapter/c;

    const/4 v1, 0x0

    invoke-virtual {v0, p2, p1, v1}, Lcom/estrongs/android/ui/adapter/c;->getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;

    move-result-object p1

    .line 2
    new-instance v0, Lcom/estrongs/android/ui/dialog/q0$b;

    invoke-direct {v0, p0, p2}, Lcom/estrongs/android/ui/dialog/q0$b;-><init>(Lcom/estrongs/android/ui/dialog/q0;I)V

    invoke-virtual {p1, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method


# virtual methods
.method protected a()V
    .locals 7

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/q;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/estrongs/android/pop/esclasses/h;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const/4 v1, 0x0

    const v2, 0x7f0c00de

    invoke-virtual {v0, v2, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ScrollView;

    const v2, 0x7f090d74

    .line 2
    invoke-virtual {v0, v2}, Landroid/widget/ScrollView;->findViewById(I)Landroid/view/View;

    move-result-object v2

    iput-object v2, p0, Lcom/estrongs/android/ui/dialog/p0;->e:Landroid/view/View;

    const v3, 0x7f0909cb

    .line 3
    invoke-virtual {v2, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    iput-object v2, p0, Lcom/estrongs/android/ui/dialog/p0;->f:Landroid/view/View;

    .line 4
    iget-object v2, p0, Lcom/estrongs/android/ui/dialog/p0;->e:Landroid/view/View;

    const v4, 0x7f0909cc

    invoke-virtual {v2, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    iput-object v2, p0, Lcom/estrongs/android/ui/dialog/p0;->g:Landroid/view/View;

    const/16 v5, 0x8

    .line 5
    invoke-virtual {v2, v5}, Landroid/view/View;->setVisibility(I)V

    .line 6
    iget-object v2, p0, Lcom/estrongs/android/ui/dialog/p0;->e:Landroid/view/View;

    const v6, 0x7f0909cd

    invoke-virtual {v2, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    iput-object v2, p0, Lcom/estrongs/android/ui/dialog/p0;->h:Landroid/view/View;

    .line 7
    invoke-virtual {v2, v5}, Landroid/view/View;->setVisibility(I)V

    .line 8
    new-instance v2, Lcom/estrongs/android/ui/dialog/q0$a;

    iget-object v6, p0, Lcom/estrongs/android/ui/dialog/q;->mContext:Landroid/content/Context;

    invoke-direct {v2, p0, v6}, Lcom/estrongs/android/ui/dialog/q0$a;-><init>(Lcom/estrongs/android/ui/dialog/q0;Landroid/content/Context;)V

    iput-object v2, p0, Lcom/estrongs/android/ui/dialog/q0;->m:Lcom/estrongs/android/ui/adapter/c;

    .line 9
    invoke-virtual {v2}, Lcom/estrongs/android/ui/adapter/c;->a()V

    .line 10
    iget-object v2, p0, Lcom/estrongs/android/ui/dialog/p0;->f:Landroid/view/View;

    invoke-direct {p0, v2}, Lcom/estrongs/android/ui/dialog/q0;->a(Landroid/view/View;)V

    const v2, 0x7f090aec

    .line 11
    invoke-virtual {v0, v2}, Landroid/widget/ScrollView;->findViewById(I)Landroid/view/View;

    move-result-object v2

    iput-object v2, p0, Lcom/estrongs/android/ui/dialog/p0;->i:Landroid/view/View;

    .line 12
    invoke-virtual {v2, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    iput-object v2, p0, Lcom/estrongs/android/ui/dialog/p0;->j:Landroid/view/View;

    .line 13
    iget-object v2, p0, Lcom/estrongs/android/ui/dialog/p0;->i:Landroid/view/View;

    invoke-virtual {v2, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    iput-object v2, p0, Lcom/estrongs/android/ui/dialog/p0;->k:Landroid/view/View;

    .line 14
    new-instance v2, Lcom/estrongs/android/ui/adapter/b;

    iget-object v3, p0, Lcom/estrongs/android/ui/dialog/q;->mContext:Landroid/content/Context;

    invoke-direct {v2, v3}, Lcom/estrongs/android/ui/adapter/b;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lcom/estrongs/android/ui/dialog/p0;->b:Lcom/estrongs/android/ui/adapter/b;

    .line 15
    iget-object v2, p0, Lcom/estrongs/android/ui/dialog/p0;->j:Landroid/view/View;

    const/4 v3, 0x0

    invoke-virtual {p0, v2, v3}, Lcom/estrongs/android/ui/dialog/p0;->a(Landroid/view/View;I)V

    .line 16
    iget-object v2, p0, Lcom/estrongs/android/ui/dialog/p0;->k:Landroid/view/View;

    const/4 v4, 0x1

    invoke-virtual {p0, v2, v4}, Lcom/estrongs/android/ui/dialog/p0;->a(Landroid/view/View;I)V

    .line 17
    invoke-virtual {p0, v0}, Lcom/estrongs/android/ui/dialog/q;->setContentView(Landroid/view/View;)V

    .line 18
    invoke-virtual {v0, v3}, Landroid/widget/ScrollView;->setScrollbarFadingEnabled(Z)V

    .line 19
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v2

    invoke-virtual {v2}, Lcom/estrongs/android/pop/l;->H1()Z

    move-result v2

    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v3

    invoke-virtual {v3}, Lcom/estrongs/android/pop/l;->I1()Z

    move-result v3

    or-int/2addr v2, v3

    if-nez v2, :cond_0

    .line 20
    iget-object v2, p0, Lcom/estrongs/android/ui/dialog/p0;->i:Landroid/view/View;

    invoke-virtual {v2, v5}, Landroid/view/View;->setVisibility(I)V

    const v2, 0x7f090aed

    .line 21
    invoke-virtual {v0, v2}, Landroid/widget/ScrollView;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v5}, Landroid/view/View;->setVisibility(I)V

    .line 22
    :cond_0
    invoke-static {}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->a1()Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 23
    invoke-static {}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->a1()Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->b0()Ljava/lang/String;

    move-result-object v1

    :cond_1
    if-eqz v1, :cond_2

    .line 24
    invoke-static {v1}, Lcom/estrongs/android/util/h0;->w1(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2

    .line 25
    invoke-virtual {p0, v4}, Lcom/estrongs/android/ui/dialog/p0;->a(I)V

    const/4 v0, 0x2

    .line 26
    invoke-virtual {p0, v0}, Lcom/estrongs/android/ui/dialog/p0;->a(I)V

    :cond_2
    return-void
.end method
